﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    public class Units
    {
        private int _unitID;

        public int UnitID
        {
            get { return _unitID; }
            set { _unitID = value; }
        }

        private string _unitName;

        public string UnitName
        {
            get { return _unitName; }
            set { _unitName = value; }
        }

        private string _description;

        public string Description
        {
            get { return _description; }
            set { _description = value; }
        }

        private bool _isDeleted;

        public bool IsDeleted
        {
            get { return _isDeleted; }
            set { _isDeleted = value; }
        }

        /// <summary>
        /// Units
        /// </summary>
        /// <param name="unitID"></param>
        public Units(int unitID)
        {
            UnitID = unitID;
        }

        /// <summary>
        /// Units
        /// </summary>
        /// <param name="unitID"></param>
        /// <param name="unitName"></param>
        /// <param name="description"></param>
        /// <param name="isDeleted"></param>
        public Units(int unitID, string unitName, string description, bool isDeleted)
        {
            UnitID = unitID;
            UnitName = unitName;
            Description = description;
            IsDeleted = isDeleted;
        }

        /// <summary>
        /// Units
        /// </summary>
        public Units()
        { 
        }
    }
}
